using System;
using InfoJetSoft.Service.Util;

namespace InfoJetSoft.Service.Entity
{
	/// <summary>
	/// Summary description for DataEmailAdapter.
	/// </summary>
	public class DataEmailAdapter : DataAdapter, ICloneable
	{

		public static string Expression = "expression";
		public static string Literal = "literal";

		public string ToValue 
		{
			get 
			{
				return toValue;
			}
			
			set 
			{
				this.toValue = value;
			}
		}

		public string ToValueType 
		{
			get 
			{
				return toValueType;
			}
			
			set 
			{
				this.toValueType = value;
			}
		}

		public string To 
		{
			get 
			{
				return this.to;
			}
			
			set 
			{
				this.to = value;
			}
		}


		public string CcValue 
		{
			get 
			{
				return ccValue;
			}
			
			set 
			{
				this.ccValue = value;
			}
		}

		public string CcValueType 
		{
			get 
			{
				return ccValueType;
			}
			
			set 
			{
				this.ccValueType = value;
			}
		}

		public string Cc
		{
			get 
			{
				return this.cc;
			}
			
			set 
			{
				this.cc = value;
			}
		}

		public string BccValue 
		{
			get 
			{
				return bccValue;
			}
			
			set 
			{
				this.bccValue = value;
			}
		}

		public string BccValueType 
		{
			get 
			{
				return bccValueType;
			}
			
			set 
			{
				this.bccValueType = value;
			}
		}

		public string Bcc
		{
			get 
			{
				return this.bcc;
			}
			
			set 
			{
				this.bcc = value;
			}
		}

		public string SubjectValue 
		{
			get 
			{
				return subjectValue;
			}
			
			set 
			{
				this.subjectValue = value;
			}
		}

		public string SubjectValueType 
		{
			get 
			{
				return subjectValueType;
			}
			
			set 
			{
				this.subjectValueType = value;
			}
		}

		public string Subject
		{
			get 
			{
				return this.subject;
			}
			
			set 
			{
				this.subject = value;
			}
		}

		public string IntroValue 
		{
			get 
			{
				return introValue;
			}
			
			set 
			{
				this.introValue = value;
			}
		}

		public string AttachmentFileNameValue 
		{
			get 
			{
				return attachmentFileNameValue;
			}
			
			set 
			{
				this.attachmentFileNameValue = value;
			}
		}

		public string AttachmentFileNameValueType 
		{
			get 
			{
				return attachmentFileNameValueType;
			}
			
			set 
			{
				this.attachmentFileNameValueType = value;
			}
		}

		public string AttachmentFileName
		{
			get 
			{
				return this.attachmentFileName;
			}
			
			set 
			{
				this.attachmentFileName = value;
			}
		}

		public bool QueryAllowed
		{
			get
			{
				return this.queryAllowed;
			}
			set
			{
				this.queryAllowed = value;
			}
		}

		public bool SubmitAllowed
		{
			get
			{
				return this.submitAllowed;
			}
			set
			{
				this.submitAllowed = value;
			}
		}

		public QueryXslt ToQueryXslt 
		{
			get 
			{
				return toQueryXslt;
			}
			
			set 
			{
				this.toQueryXslt = value;
			}
		}

		public QueryXslt CcQueryXslt 
		{
			get 
			{
				return ccQueryXslt;
			}
			
			set 
			{
				this.ccQueryXslt = value;
			}
		}

		public QueryXslt BccQueryXslt 
		{
			get 
			{
				return bccQueryXslt;
			}
			
			set 
			{
				this.bccQueryXslt = value;
			}
		}

		public QueryXslt SubjectQueryXslt 
		{
			get 
			{
				return subjectQueryXslt;
			}
			
			set 
			{
				this.subjectQueryXslt = value;
			}
		}

		public QueryXslt AttachmentFileNameQueryXslt 
		{
			get 
			{
				return attachmentFileNameQueryXslt;
			}
			
			set 
			{
				this.attachmentFileNameQueryXslt = value;
			}
		}

		public bool IsEmailAttachmentTypeNone 
		{
			get 
			{
				return isEmailAttachmentTypeNone;
			}
			
			set 
			{
				this.isEmailAttachmentTypeNone = value;
			}
		}

		private string toValue = null;
		private string toValueType = null;
		private string to = null;
		private string ccValue = null;
		private string ccValueType = null;
		private string cc = null;
		private string bccValue = null;
		private string bccValueType = null;
		private string bcc = null;
		private string subjectValue = null;
		private string subjectValueType = null;
		private string subject = null;
		private string introValue = null;
		private string attachmentFileNameValue = null;
		private string attachmentFileNameValueType = null;
		private string attachmentFileName = null;
		private QueryXslt toQueryXslt = null;
		private QueryXslt ccQueryXslt = null;
		private QueryXslt bccQueryXslt = null;
		private QueryXslt subjectQueryXslt = null;
		private QueryXslt attachmentFileNameQueryXslt = null;
		private bool queryAllowed = false;
		private bool submitAllowed = false;
		private bool isEmailAttachmentTypeNone = false;

		public Object Clone()
		{
			return this.MemberwiseClone();
		}

	}
}
